-
Notifications
You must be signed in to change notification settings - Fork 14
feat: Add pipeline run outcome metrics #76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: graphite-base/76
Are you sure you want to change the base?
Conversation
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
2a35556 to
7e30835
Compare
a26f61f to
91a8a84
Compare
7e30835 to
71b35de
Compare
91a8a84 to
4153fe9
Compare
Tracks pipeline lifecycle from creation to completion with labels for status and user. Metrics added: - pipeline_runs_total: Counter tracking pipeline runs by status (running/succeeded/failed/cancelled) and created_by - pipeline_run_duration_seconds: Histogram tracking total pipeline duration by final status These metrics provide visibility into pipeline success rates, completion times, and usage patterns per user. Durations measure total lifecycle time from creation to terminal state (including queue and execution time).
4153fe9 to
2b22982
Compare
71b35de to
4b0797e
Compare
|
I'm not fully sure we should be doing this on the app side. I'm not sure about reporting pipeline run times like this. Tracking execution durations might be more OK. I'm not sure the backend should be aggregating run's execution status statistics into a single status. This single status will likely be not useful for many of the users. I think it's better when the users can get the full status stats and UI can provide derivatives. |
Thanks for jumping in to these draft PRs and giving some early feedback. Especially this one. After all our discussion, that does sound like the best thing to do. |

Pipeline Metrics Instrumentation
Tracks pipeline lifecycle from creation to completion with labels for status and user.
Metrics added:
These metrics provide visibility into pipeline success rates, completion times, and usage patterns per user.
Durations measure total lifecycle time from creation to terminal state (including queue and execution time).